<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<fieldset>
  <s:form action="employee!add.action" method="post" style="width: 260px">
    <legend>添加员工信息</legend>
    <s:textfield name="employee.employeeName" label="员工姓名" />
    <s:select label="部门id" name="employee.departmentId" list="departments" listKey="departmentId"
      listValue="departmentName" />
    <s:select name="employee.positionId" label="职位id" list="positions" listKey="positionId"
      listValue="positionName" />
    <s:submit value="添加" />
  </s:form>
</fieldset>
